<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="${ctx}/res/js/roleManagement/roleList.js"></script>
</head>
<body>
	<center>
		<table>
			<!-- 查询条件 区域 -->
			<tr>
				<td>
					<div class="list_query">
						<form method="post" id="queryForm">
							<label> 
								<span>ROLE_NAME</span> 
								<input type="text" style="margin-top:10px"
									name="role_name" placeholder="请输入ROLE_NAME" id="role_name" maxlength="20"/>
							</label> 
							<label> 
								<span>ROLE_NAME_CN</span>
								<input type="text" style="margin-top:10px"
									name="role_name_cn" placeholder="请输入ROLE_NAME_CN" id="role_name_cn" maxlength="50"/>
								<input type="hidden" name="pageType" id="pageType" value="${pageType }" /> 
							</label>
						</form>
					</div>
				</td>
			</tr>

			<!-- 按钮操作区域 -->
			<tr>
				<td>
					<div class="list_toolbar">
						<div class="toolButton" onclick="queryButtonClickEvent()">查询</div>
						<div class="toolButton" onclick="newButtonClickEvent()">新建</div>
						<div class="toolButton" onclick="modifyButtonClickEvent()">修改</div>
						<div class="toolButton" onclick="deleteButtonClickEvent();">删除</div>
						<div class="toolButton" onclick="viewUserButtonClickEvent();">查看用户</div>
						<div class="toolButton" onclick="addUserButtonClickEvent();">添加用户</div>
					</div>
				</td>
			</tr>

			<!-- 表头区域-->
			<tr>
				<td>
					<table class="list_grid">
						<thead>
							<tr>
								<th style="width: 13%;">ROLE_NAME</th>
								<th style="width: 13%;">ROLE_NAME_CN</th>
								<th style="width: 13%;">CREATE_USER</th>
								<th style="width: 15%;">CREATE_TIME</th>
								<th style="width: 15%;">LAST_MODIFY_USER</th>
								<th style="width: 15%;">LAST_MODIFY_TIME</th>
								<th style="width: 14.5%;">REMARK</th>
								<th style="width: 1px;"></th>
							</tr>
						</thead>
					</table>
				</td>
			</tr>

			<!-- 数据区域 -->
			<tr>
				<td>
					<div class="list_scrollControlDiv">
						<table class="list_grid" style="border-spacing: 0;">
							<tbody id="tBodyList">
							</tbody>
						</table>
					</div>
				</td>
			</tr>

			<!-- 分页控件区域 -->
			<tr>
				<td>
					<div id="pagination" class="pagination"></div>
				</td>
			</tr>
		</table>
	</center>

	<form id="submitForm" method="post" action="${ctx}/roleManagement/roleDetails.do">
		<input type="hidden" name="role_name" />
	</form>

</body>
</html>